package models;

import java.util.ArrayList;

import org.apache.axis.types.IDRefs;

public class Group {

	private String name;
	private String text;
	private ArrayList<String> ids = new ArrayList<String>();
	private boolean required;
	private boolean exclusive;
	private ArrayList<Flag> flag_set = new ArrayList<Flag> ();
	private ArrayList<taggedParams> tagged_set = new ArrayList<taggedParams>();
	private ArrayList<untaggedParams> untagged_set = new ArrayList<untaggedParams>();
	private boolean useful = true;
	private String requiredstr ="";
	
	public String getRequiredstr() {
		if(required)
			return "*";
		else	
		return requiredstr;
	}
	public void setRequiredstr(String requiredstr) {
		this.requiredstr = requiredstr;
	}
	public boolean isUseful() {
		return useful;
	}
	public void setUseful(boolean useful) {
		this.useful = useful;
	}
	public boolean isRequired() {
		return required;
	}
	public void setRequired(boolean required) {
		this.required = required;
	}
	public boolean isExclusive() {
		return exclusive;
	}
	public void setExclusive(boolean exclusive) {
		this.exclusive = exclusive;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}

	public ArrayList<String> getIds() {
		return ids;
	}
	public void setIds(ArrayList<String> ids) {
		this.ids = ids;
	}
	public ArrayList<Flag> getFlag_set() {
		return flag_set;
	}
	public void setFlag_set(ArrayList<Flag> flag_set) {
		this.flag_set = flag_set;
	}
	public ArrayList<taggedParams> getTagged_set() {
		return tagged_set;
	}
	public void setTagged_set(ArrayList<taggedParams> tagged_set) {
		this.tagged_set = tagged_set;
	}
	public ArrayList<untaggedParams> getUntagged_set() {
		return untagged_set;
	}
	public void setUntagged_set(ArrayList<untaggedParams> untagged_set) {
		this.untagged_set = untagged_set;
	}
	
	
	
	
	
}
